package com.atg.atgchat.init.common.event;

import com.atg.atgchat.init.user.model.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/*
author: atg
time: 2025/1/17 15:46
desc: 用户注册事件
*/
@Getter
public class UserRegisteredEvent extends ApplicationEvent {
    private final User user;

    public UserRegisteredEvent(Object source, User user) {
        super(source);
        this.user = user;
    }
}
